package com.tracesystem.controller.form;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "修改用户通过id修改")
public class UpdateUserForm {
    @ApiModelProperty("用户id不可变")
    private Integer userId;

    //    private String password;
    @ApiModelProperty("用户名不可变")
    @Length(max = 16)
    private String username;
    @ApiModelProperty("用户电话号码")
    private String userTel;
    @ApiModelProperty("用户的邮箱")
    private String userEmail;
}
